package org.xm.sk.vo.ob;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@XmlRootElement(name = "prepay-info", namespace = "org.xm.sk")
@XmlAccessorType(XmlAccessType.NONE)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Prepay {

    @XmlElement(name = "appid")
    String appId;  // 小程序ID

    @XmlElement(name = "device_info")
    String deviceInfo;  // 设备号

    @XmlElement(name = "err_code")
    String errCode;  // 错误代码

    @XmlElement(name = "err_code_des")
    String errCodeDes;  // 错误代码描述

    @XmlElement(name = "mch_id")
    String mchId;  // 商户号

    @XmlElement(name = "nonce_str")
    String nonceStr;  // 随机字符串

    @XmlElement(name = "prepay_id")
    String prepayId;  // 预支付交易会话标识

    @XmlElement(name = "result_code")
    String resultCode;  // 业务结果

    @XmlElement(name = "return_code")
    String returnCode;  // 返回状态码

    @XmlElement(name = "return_msg")
    String returnMsg;  // 返回信息

    @XmlElement(name = "sign")
    String sign;  // 签名

    @XmlElement(name = "trade_type")
    String tradeType;  // 交易类型
    
}
